#ifndef ADDDIALOG_H
#define ADDDIALOG_H

#include <QtWidgets>

class AddDialog : public QDialog
{
    Q_OBJECT
public:
    explicit AddDialog(QWidget *parent = nullptr);
    QString name() const;
    QString address() const;
    void editAddress(const QString &name, const QString &address);
signals:

public slots:

private:
    QLineEdit *nameText;
    QTextEdit *addressText;
};

#endif // ADDDIALOG_H
